package com.epam.task.xml.classes;

/**
 * Created with IntelliJ IDEA.
 * User: zhunusbekova.arailym
 * Date: 12.09.13
 * Time: 11:35
 * To change this template use File | Settings | File Templates.
 */
public class Certificate {
    private int registrationCode;
    private String deadline;
    private String organization;

    public Certificate(){

    }

    public Certificate(int registrationCode, String deadline, String organization){
        this.registrationCode = registrationCode;
        this.deadline = deadline;
        this.organization = organization;
    }

    public int getRegistrationCode() {
        return registrationCode;
    }

    public void setRegistrationCode(int registrationCode) {
        this.registrationCode = registrationCode;
    }

    public String getDeadline() {
        return deadline;
    }

    public void setDeadline(String deadline) {
        this.deadline = deadline;
    }

    public String getOrganization() {
        return organization;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public String toString() {
        return "\n\t\tregistration code: " + registrationCode + "\n\t\tdeadline: " + deadline + "\n\t\torganization: " + organization;
    }
}
